package com.system.xingzhi.service;

import com.system.xingzhi.model.ComponentPermission;
import com.system.xingzhi.model.ReturnData;

import java.util.Map;

public interface ComponentPermissionService {
    ReturnData deleteByPrimaryKey(String componentPermissonId);

    ReturnData insert(ComponentPermission record);

    int insertSelective(ComponentPermission record);

    ComponentPermission selectByPrimaryKey(String componentPermissonId);

    int updateByPrimaryKeySelective(ComponentPermission record);

    ReturnData updateByPrimaryKey(ComponentPermission record);

    ReturnData selectByParameter(Map<String, String> map, Integer pageNum, Integer pageSize);
}
